import 'package:flutter_ncsjqz_getx/generated/json/base/json_field.dart';
import 'package:flutter_ncsjqz_getx/generated/json/circle_list_entity.g.dart';

@JsonSerializable()
class CircleListEntity {

	CircleListEntity();

	factory CircleListEntity.fromJson(Map<String, dynamic> json) => $CircleListEntityFromJson(json);

	Map<String, dynamic> toJson() => $CircleListEntityToJson(this);

	String? msg;
	int? code;
	CircleListData? data;
}

@JsonSerializable()
class CircleListData {

	CircleListData();

	factory CircleListData.fromJson(Map<String, dynamic> json) => $CircleListDataFromJson(json);

	Map<String, dynamic> toJson() => $CircleListDataToJson(this);

	int? totalCount;
	int? pageSize;
	int? totalPage;
	int? currPage;
	@JSONField(name: "list")
	List<CircleListDataList>? xList;
}

@JsonSerializable()
class CircleListDataList {

	CircleListDataList();

	factory CircleListDataList.fromJson(Map<String, dynamic> json) => $CircleListDataListFromJson(json);

	Map<String, dynamic> toJson() => $CircleListDataListToJson(this);

	String? userPic;
	int? postId;
	String? ryUserId;
	String? postTitle;
	String? postContent;
	int? seeType;
	String? postTypeName;
	dynamic postType;
	String? releaseTime;
	int? userId;
	String? nikeName;
	List<String>? postUrls;
	List<CircleListDataListComments>? comments;
	int? praiseCount;
	bool? isAttention;
	bool? isPraise;
	dynamic shopStatus;
	int? postStatus;
}

@JsonSerializable()
class CircleListDataListComments  {

	CircleListDataListComments();

	factory CircleListDataListComments.fromJson(Map<String, dynamic> json) => $CircleListDataListCommentsFromJson(json);

	Map<String, dynamic> toJson() => $CircleListDataListCommentsToJson(this);

	int? commentId;
	String? commentContent;
	dynamic commentType;
	int? commentUserId;
	String? commentUserName;
	String? commentUserPic;
	int? replyUserId;
	String? replyUserName;
	String? replyUserPic;
	int? postId;
	String? commentTime;
	List<CommentsReplys>? replys;
}
@JsonSerializable()
class CommentsReplys  {

	CommentsReplys();

	factory CommentsReplys.fromJson(Map<String, dynamic> json) => $CommentsReplysFromJson(json);

	Map<String, dynamic> toJson() => $CommentsReplysToJson(this);

	int? commentId;
	String? replyContent;
	int? replyType;
	int? beReplyUserId;
	String? beReplyUserName;
	String? beReplyUserPic;
	int? replyUserId;
	String? replyUserName;
	String? replyUserPic;
	String? replyTime;
}